<div class="context_menu">
    <div class="context_menu1">
        
    </div>
    <div class="context_menu2">
        <ul>
            <li><a href="{url query=$add_answer}&action=add-answer">Add Answer</a></li>
        </ul>
    </div>
</div>

<div class="form">
    <form method="post">
    <div>
    
    {php}
    $this->assign('templates', array(
        'columns' => array(
            'answer' => '<textarea name="answers[{$entries[$id].id}]">{$value}</textarea>', 
            'right' => '<input type="checkbox" name="right[{$entries[$id].id}]" {if 1 == $value}checked="checked"{/if} />', 
            'action' => '<a href="{url query=$entries[$id].url}&action=delete-answer">Delete</a>'
        ),
    ));
    {/php}

    <div class="answers">
    {include file="backend/component/list.tpl" through_default=$through_default|cat:",id,test"}
    </div>

    {if not isset($submit)}{assign var="submit" value="SUBMIT"}{/if}
        <p><input type="submit" value="{$submit|translate}" class="button submit" /></p>
    </div>
    </form>
</div>
